Skip to content

Build grep with pcre2 - #339

Merged
jkloetzke merged 4 commits into
BobBuildTool:masterfrom
admlck:grep-musl
Nov 5, 2026
Merged

jkloetzke merged 4 commits into
BobBuildTool:masterfrom
admlck:grep-musl

Conversation

@admlck

@admlck admlck commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@jkloetzke

Copy link
Copy Markdown
Member

Hmm, this also has the commit from #340?

@admlck

admlck commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor Author

I could give it a try without the --without-included-regex? But probably there's a reason it is there.

@jkloetzke

Copy link
Copy Markdown
Member

Hmm, we're linking with PCRE. Apparently, buildroot passes --enable-perl-regexp. Maybe that makes a difference?

In any case, version 3.12 is available since some time. Mabe add a 2nd commit with an update...

For using pcre2 in the base it needs to use configure as no cmake/ninja
is available.

Signed-off-by: Adam Lackorzynski <adam@l4re.org>
Signed-off-by: Adam Lackorzynski <adam@l4re.org>
Signed-off-by: Adam Lackorzynski <adam@l4re.org>
Signed-off-by: Adam Lackorzynski <adam@l4re.org>
@admlck admlck changed the title Allow grep to build with musl Build grep with pcre2 Nov 2, 2026
@admlck

admlck commented Nov 2, 2026

Copy link
Copy Markdown
Contributor Author

Build grep with libpcre2, as others do. For that, we change libpcre2 to build with autoconf such that it is available in the core set, as grep is. We also update grep and libpcre2 to their latest versions.

@jkloetzke
jkloetzke merged commit b2abfb0 into BobBuildTool:master Nov 5, 2026
3 checks passed
@jkloetzke

Copy link
Copy Markdown
Member

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants